<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>盘点信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
                            <i class="fa fa-times"></i>返回
                        </button>
                    </div>
                </div>
              
                <div class="ibox-content">
                    <div class="form-group row">
                        <label class="col-sm-1 col-form-label text-right">盘点名称</label>
                        <div class="col-sm-5 ">
                           
                            <label class="col-form-label">{{assetInventoryAuditInfo.name}}</label>
                        </div>
                        <label class="col-sm-1 col-form-label text-right">盘点人</label>
                        <div class="col-sm-5 ">
                            <label class="col-form-label">{{assetInventoryAuditInfo.staffName}}</label>       
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-1 col-form-label text-right">选择仓库</label>
                        <div class="col-sm-5 ">
                            <label class="col-form-label">{{assetInventoryAuditInfo.shName}}</label>
                        </div>
                        <label class="col-sm-1 col-form-label text-right">盘点日期</label>
                        <div class="col-sm-5 ">
                            <label class="col-form-label">{{assetInventoryAuditInfo.invTime}}</label>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-1 col-form-label text-right">盘点说明</label>
                        <div class="col-sm-11 ">
                            <label class="col-form-label">{{assetInventoryAuditInfo.remark}}</label>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>盘点商品</h5>
                    <!-- <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openChooseProductModal()">
                            <i class="fa fa-plus"></i>选择商品
                        </button>
                    </div> -->
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th class="text-center"><span><vc:i18n name="物品类型" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="物品名称" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="物品规格" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="物品编码" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="是否是固定物品" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="参考价格" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="原有库存" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="盘点后数量" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                            <!-- <th class="text-center" v-if="assetInventoryInInfo.resOrderType == '10000'"><span><vc:i18n name="供应商" namespace="assetInventoryInInfo"></vc:i18n></span></th> -->
                            <th class="text-center"><span><vc:i18n name="备注" namespace="assetInventoryInInfo"></vc:i18n></span></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="resourceStore in assetInventoryAuditInfo.resourceStores">
                            <td class="text-center" style="vertical-align: inherit;">
                                {{resourceStore.parentRstName ? resourceStore.parentRstName : '-'}} >
                                {{resourceStore.rstName ? resourceStore.rstName : '-'}}
                            </td>
                            <td class="text-center" style="vertical-align: inherit;">{{resourceStore.resName}}</td>
                            <td class="text-center" style="vertical-align: inherit;">{{resourceStore.rssName ?
                                resourceStore.rssName : '-'}}
                            </td>
                            <td class="text-center" style="vertical-align: inherit;">{{resourceStore.resCode}}</td>
                            <td class="text-center" style="vertical-align: inherit;">{{resourceStore.isFixedName}}</td>
                            <td class="text-center" style="vertical-align: inherit;">{{resourceStore.price}}</td>
                            <td class="text-center" style="vertical-align: inherit;">
                                {{resourceStore.originalStock}}{{resourceStore.unitCodeName}}
                            </td>
                            <td class="text-center" style="vertical-align: inherit;">
                                {{resourceStore.quantity}}{{resourceStore.unitCodeName}}
                            </td>
                            <td class="text-center" style="vertical-align: inherit;">
                                {{resourceStore.remark}}
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="10">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>


    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>审核意见</h5>
                </div>
                <div class="ibox-content">
                    <textarea style="width: 100%" v-model="assetInventoryAuditInfo.opinion" placeholder="请输入审核意见" maxlength="250"
                      class="form-control">
                    </textarea>
                    <div class="row" style="padding-top: 20px">
                        <div class="col-sm-6">
                            <button class="btn btn-primary float-right" type="button" v-on:click="_doAssetInventory('4000')">
                                <i class="fa fa-check"></i>&nbsp;审核通过
                            </button>
                            
                        </div>
                        <div class="col-sm-6" style="text-align: left;">
                            <button type="button" class="btn btn-warning" style="margin-right:20px;"
                        v-on:click="_doAssetInventory('3000')">
                            <i class="fa fa-close"></i>&nbsp;审核不通过
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>